﻿<%@ Page Language="C#" MasterPageFile="~/Admin/Admin.master" AutoEventWireup="true" CodeFile="addevent.aspx.cs" Inherits="Admin_addevent" Title="添加优惠活动" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <asp:ScriptManager ID="ScriptManager1" runat="server" EnableScriptGlobalization="true" EnableScriptLocalization="true">
    </asp:ScriptManager>
    <div style="float:left">
    活动标题：<asp:TextBox ID="tbTitle" runat="server"></asp:TextBox><br />
    开始日期：<asp:TextBox ID="tbStartDay" runat="server"></asp:TextBox>
        <cc1:CalendarExtender ID="CalendarExtender1" runat="server" TargetControlID="tbStartDay" Format="yyyy-MM-dd"></cc1:CalendarExtender><br />
    结束日期：<asp:TextBox ID="tbDueDay" runat="server"></asp:TextBox>
        <cc1:CalendarExtender ID="CalendarExtender2" runat="server" TargetControlID="tbDueDay" Format="yyyy-MM-dd"></cc1:CalendarExtender><br />
    封面图片：
    <asp:FileUpload ID="fuA" runat="server" /><asp:Button ID="Button1" runat="server" 
            Text="上传" onclick="Button1_Click" />
    <br />
    <asp:Image ID="imgA" runat="server" /><br /><br />
    海报图片：
    <asp:FileUpload ID="fuB" runat="server" /><asp:Button ID="Button2" runat="server" 
            Text="上传" onclick="Button2_Click" />
    <br />
    <asp:Image ID="imgB" runat="server" />
    <br /><br />
    <asp:Button ID="Button3" runat="server" Text="保存" onclick="Button3_Click" />
    <asp:HiddenField ID="hfA" runat="server" />
    <asp:HiddenField ID="hfB" runat="server" />
    </div>
</asp:Content>

